package cn.zqh.bean.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zqh
 * @since 2023-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("Store")
@ApiModel(value="Store对象", description="")
public class Store implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商店主键")
    @TableId(value = "Store_id", type = IdType.ID_WORKER_STR)
    private String storeId;

    @ApiModelProperty(value = "用户id")
    @TableField("User_id")
    private String userId;

    @ApiModelProperty(value = "店铺名字")
    @TableField("Store_name")
    private String storeName;

    @ApiModelProperty(value = "店铺简介")
    @TableField("Intro")
    private String Intro;

    @ApiModelProperty(value = "店铺图片")
    @TableField("Avatar")
    private String Avatar;

    @ApiModelProperty(value = "店铺状态0申请中，1申请成功，2店铺禁用，用户申请店铺时，此参数默认是0，当管理员允许后，此时状态变为1")
    @TableField("Store_style")
    private Integer storeStyle;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("Is_delete")
    private Integer isDelete;


}
